//
//  TKIMTextField.h
//  TKIM
//
//  Created by liupm on 15/10/28.
//  Copyright © 2015年 liupm. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol TKIMTextFieldDelegate <NSObject>

/**
 *  @Author lpm, 16-04-26 14:04:36
 *
 *  @brief  点击删除键
 */
-(void)textFieldDeleteBackward:(UITextField *)textField;


/**
 *  @Author lpm, 16-04-26 14:04:36
 *
 *  @brief  文字改变
 */
-(void)textFieldChange:(NSString *)text;

@end

@interface TKIMTextField : UITextField<UITextFieldDelegate>

@property(nonatomic,assign) id<TKIMTextFieldDelegate>imTextFieldDelegate;
//是否显示下划线
@property(nonatomic,assign) BOOL showUnderline;
//下划线颜色
@property(nonatomic,strong) UIColor *underlineColor;
//最大限制输入
@property(nonatomic,assign) NSInteger maxLimitLength;
@end

